package com.ruoyi.system.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import com.ruoyi.system.api.domain.SysDept;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.TreeEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 物料类型对象 material_type
 * 
 * @author syn
 * @date 2024-01-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaterialType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 类型编号 */
    private String typeCode;

    /** 类型名称 */
    private String typeName;

    /** 类型描述 */
    private String typeDesc;

    /** 父类id */
    private Long parentId;

    private List<MaterialType> children = new ArrayList<>();


}
